const http = uni.$u.http

// 获取码表
export const getDictItemsByCode = (params) => http.get('/sys/dict/getDictItemsByCode', { params });

// 上传文件
export const upload = (params) => http.upload('/sys/common/obsUpload', params);

// 微信手机号登录
export const wxPhoneLogin = (params) => http.post('/worldfavour/wfWxUser/wxPhoneLogin', params);

// 获取腾讯地图逆地址解析
export const addressResolution = (params) => http.get('/chihiro/tencentMap/addressResolution', { params })

// 获取腾讯地图逆地址解析
export const suggestion = (params) => http.get('/chihiro/tencentMap/suggestion', { params })